﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IFTRUE.EIMS.Web.Aspx
{
    public partial class EnterprisView : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string strUserid = Request["ids"];
                if (string.IsNullOrEmpty(strUserid))
                    return;

                Model.EnterpriseInfo enterpriseInfoModel = new BLL.EnterpriseInfo().Get(strUserid);
                if (enterpriseInfoModel == null)
                    return;
                Tbr.InnerText = enterpriseInfoModel.Tbr;
                Lxdh.InnerText = enterpriseInfoModel.Lxdh;
                Yx.InnerText = enterpriseInfoModel.Yx;
                Qymc.InnerText = enterpriseInfoModel.Qymc;
                Zczb.InnerText = enterpriseInfoModel.Zczb.ToString();
                Zzhjzqk.InnerText = enterpriseInfoModel.Zzhjzqk;
                Sfwgxjsqy.InnerText = enterpriseInfoModel.Sfwgxjsqy?"是":"否";
                Sfwlxsqy.InnerText = enterpriseInfoModel.Sfwlxsqy ? "是" : "否";

                Yyyg_zrs.InnerText = enterpriseInfoModel.Yyyg_zrs.ToString();
                Yyyg_dzys.InnerText = enterpriseInfoModel.Yyyg_dzys.ToString();
                Yyyg_ss.InnerText = enterpriseInfoModel.Yyyg_ss.ToString();
                Yyyg_bs.InnerText = enterpriseInfoModel.Yyyg_bs.ToString();
                Yyyg_lxry.InnerText = enterpriseInfoModel.Yyyg_lxry.ToString();
                Byxz_zrs.InnerText = enterpriseInfoModel.Byxz_zrs.ToString();
                Byxz_dzys.InnerText = enterpriseInfoModel.Byxz_dzys.ToString();
                Byxz_ss.InnerText = enterpriseInfoModel.Byxz_ss.ToString();
                Byxz_bs.InnerText = enterpriseInfoModel.Byxz_bs.ToString();
                Byxz_lxry.InnerText = enterpriseInfoModel.Byxz_lxry.ToString();

                Ysqzsqk.InnerText = enterpriseInfoModel.Ysqzsqk;
                Xsqzsqk.InnerText = enterpriseInfoModel.Xsqzsqk;

                Yhcpzczsl.InnerText = enterpriseInfoModel.Yhcpzczsl.ToString();
                Byxsqcpzczsl.InnerText = enterpriseInfoModel.Byxsqcpzczsl.ToString();
                Byxhdcpzczsl.InnerText = enterpriseInfoModel.Byxhdcpzczsl.ToString();
                Sfyhscxkz.InnerText = enterpriseInfoModel.Sfyhscxkz?"是":"否";
                Scxkzbgqk.InnerText = enterpriseInfoModel.Scxkzbgqk;
                Yhcpzczzsbh.InnerText = enterpriseInfoModel.Yhcpzczzsbh;

                Yyzscq_sbqk_fmzl.InnerText = enterpriseInfoModel.Yyzscq_sbqk_fmzl.ToString();
                Yyzscq_sbqk_syxxzl.InnerText = enterpriseInfoModel.Yyzscq_sbqk_syxxzl.ToString();
                Yyzscq_sbqk_wgzl.InnerText = enterpriseInfoModel.Yyzscq_sbqk_wgzl.ToString();
                Yyzscq_sbqk_rjzzq.InnerText = enterpriseInfoModel.Yyzscq_sbqk_rjzzq.ToString();
                Yyzscq_sbqk_pct.InnerText = enterpriseInfoModel.Yyzscq_sbqk_pct.ToString();
                Yyzscq_hpqk_fmzl.InnerText = enterpriseInfoModel.Yyzscq_hpqk_fmzl.ToString();
                Yyzscq_hpqk_syxxzl.InnerText = enterpriseInfoModel.Yyzscq_hpqk_syxxzl.ToString();
                Yyzscq_hpqk_wgzl.InnerText = enterpriseInfoModel.Yyzscq_hpqk_wgzl.ToString();
                Yyzscq_hpqk_rjzzq.InnerText = enterpriseInfoModel.Yyzscq_hpqk_rjzzq.ToString();
                Yyzscq_hpqk_pct.InnerText = enterpriseInfoModel.Yyzscq_hpqk_pct.ToString();
                Yyzscq_gmgwzlsl.InnerText = enterpriseInfoModel.Yyzscq_gmgwzlsl.ToString();
                Yyzscq_jshtjysl.InnerText = enterpriseInfoModel.Yyzscq_jshtjysl.ToString();
                Yyzscq_jshtjye.InnerText = enterpriseInfoModel.Yyzscq_jshtjye.ToString();
                Byxzzscq_sbqk_fmzl.InnerText = enterpriseInfoModel.Byxzzscq_sbqk_fmzl.ToString();
                Byxzzscq_sbqk_syxxzl.InnerText = enterpriseInfoModel.Byxzzscq_sbqk_syxxzl.ToString();
                Byxzzscq_sbqk_wgzl.InnerText = enterpriseInfoModel.Byxzzscq_sbqk_wgzl.ToString();
                Byxzzscq_sbqk_rjzzq.InnerText = enterpriseInfoModel.Byxzzscq_sbqk_rjzzq.ToString();
                Byxzzscq_sbqk_pct.InnerText = enterpriseInfoModel.Byxzzscq_sbqk_pct.ToString();
                Byxzzscq_hpqk_fmzl.InnerText = enterpriseInfoModel.Byxzzscq_hpqk_fmzl.ToString();
                Byxzzscq_hpqk_syxxzl.InnerText = enterpriseInfoModel.Byxzzscq_hpqk_syxxzl.ToString();
                Byxzzscq_hpqk_wgzl.InnerText = enterpriseInfoModel.Byxzzscq_hpqk_wgzl.ToString();
                Byxzzscq_hpqk_rjzzq.InnerText = enterpriseInfoModel.Byxzzscq_hpqk_rjzzq.ToString();
                Byxzzscq_hpqk_pct.InnerText = enterpriseInfoModel.Byxzzscq_hpqk_pct.ToString();
                Byxzzscq_gmgwzlsl.InnerText = enterpriseInfoModel.Byxzzscq_gmgwzlsl.ToString();
                Byxzzscq_jshtjysl.InnerText = enterpriseInfoModel.Byxzzscq_jshtjysl.ToString();
                Byxzzscq_jshtjye.InnerText = enterpriseInfoModel.Byxzzscq_jshtjye.ToString();

                Ywcxmqk_qj_sl.InnerText = enterpriseInfoModel.Ywcxmqk_qj_sl.ToString();
                Ywcxmqk_qj_zzje.InnerText = enterpriseInfoModel.Ywcxmqk_qj_zzje.ToString();
                Zyxmqk_qj_sl.InnerText = enterpriseInfoModel.Zyxmqk_qj_sl.ToString();
                Zyxmqk_qj_zzje.InnerText = enterpriseInfoModel.Zyxmqk_qj_zzje.ToString();
                Byxzsqxmqk_qj_sl.InnerText = enterpriseInfoModel.Byxzsqxmqk_qj_sl.ToString();
                Byxzsqxmqk_qj_zzje.InnerText = enterpriseInfoModel.Byxzsqxmqk_qj_zzje.ToString();
                Byxzhpxmqk_qj_sl.InnerText = enterpriseInfoModel.Byxzhpxmqk_qj_sl.ToString();
                Byxzhpxmqk_qj_zzje.InnerText = enterpriseInfoModel.Byxzhpxmqk_qj_zzje.ToString();
                Ywcxmqk_shij_sl.InnerText = enterpriseInfoModel.Ywcxmqk_shij_sl.ToString();
                Ywcxmqk_shij_zzje.InnerText = enterpriseInfoModel.Ywcxmqk_shij_zzje.ToString();
                Zyxmqk_shij_sl.InnerText = enterpriseInfoModel.Zyxmqk_shij_sl.ToString();
                Zyxmqk_shij_zzje.InnerText = enterpriseInfoModel.Zyxmqk_shij_zzje.ToString();
                Byxzsqxmqk_shij_sl.InnerText = enterpriseInfoModel.Byxzsqxmqk_shij_sl.ToString();
                Byxzsqxmqk_shij_zzje.InnerText = enterpriseInfoModel.Byxzsqxmqk_shij_zzje.ToString();
                Byxzhpxmqk_shij_sl.InnerText = enterpriseInfoModel.Byxzhpxmqk_shij_sl.ToString();
                Byxzhpxmqk_shij_zzje.InnerText = enterpriseInfoModel.Byxzhpxmqk_shij_zzje.ToString();
                Ywcxmqk_shengj_sl.InnerText = enterpriseInfoModel.Ywcxmqk_shengj_sl.ToString();
                Ywcxmqk_shengj_zzje.InnerText = enterpriseInfoModel.Ywcxmqk_shengj_zzje.ToString();
                Zyxmqk_shengj_sl.InnerText = enterpriseInfoModel.Zyxmqk_shengj_sl.ToString();
                Zyxmqk_shengj_zzje.InnerText = enterpriseInfoModel.Zyxmqk_shengj_zzje.ToString();
                Byxzsqxmqk_shengj_sl.InnerText = enterpriseInfoModel.Byxzsqxmqk_shengj_sl.ToString();
                Byxzsqxmqk_shengj_zzje.InnerText = enterpriseInfoModel.Byxzsqxmqk_shengj_zzje.ToString();
                Byxzhpxmqk_shengj_sl.InnerText = enterpriseInfoModel.Byxzhpxmqk_shengj_sl.ToString();
                Byxzhpxmqk_shengj_zzje.InnerText = enterpriseInfoModel.Byxzhpxmqk_shengj_zzje.ToString();
                Ywcxmqk_gjj_sl.InnerText = enterpriseInfoModel.Ywcxmqk_gjj_sl.ToString();
                Ywcxmqk_gjj_zzje.InnerText = enterpriseInfoModel.Ywcxmqk_gjj_zzje.ToString();
                Zyxmqk_gjj_sl.InnerText = enterpriseInfoModel.Zyxmqk_gjj_sl.ToString();
                Zyxmqk_gjj_zzje.InnerText = enterpriseInfoModel.Zyxmqk_gjj_zzje.ToString();
                Byxzsqxmqk_gjj_sl.InnerText = enterpriseInfoModel.Byxzsqxmqk_gjj_sl.ToString();
                Byxzsqxmqk_gjj_zzje.InnerText = enterpriseInfoModel.Byxzsqxmqk_gjj_zzje.ToString();
                Byxzhpxmqk_gjj_sl.InnerText = enterpriseInfoModel.Byxzhpxmqk_gjj_sl.ToString();
                Byxzhpxmqk_gjj_zzje.InnerText = enterpriseInfoModel.Byxzhpxmqk_gjj_zzje.ToString();
                Shxxjtlbjmc.InnerText = enterpriseInfoModel.Shxxjtlbjmc;

                Zxjdqkhb.InnerText = enterpriseInfoModel.Zxjdqkhb;

                Qyndzsr.InnerText = enterpriseInfoModel.Qyndzsr.ToString();
                Qybyxzsr.InnerText = enterpriseInfoModel.Qybyxzsr.ToString();
                Qyndjlr.InnerText = enterpriseInfoModel.Qyndjlr.ToString();
                Qybyxzjlr.InnerText = enterpriseInfoModel.Qybyxzjlr.ToString();
                Qyndrdtr.InnerText = enterpriseInfoModel.Qyndrdtr.ToString();
                Qybyzxrdtr.InnerText = enterpriseInfoModel.Qybyzxrdtr.ToString();
                Qyckch.InnerText = enterpriseInfoModel.Qyckch.ToString();
                Qysjsjsf.InnerText = enterpriseInfoModel.Qysjsjsf.ToString();

                Bndmqywcxs.InnerText = enterpriseInfoModel.Bndmqywcxs.ToString();
                Bndyjsxxs.InnerText = enterpriseInfoModel.Bndyjsxxs.ToString();
                Qyzjwyczjxsyy.InnerText = enterpriseInfoModel.Qyzjwyczjxsyy;

                Zpxq.InnerText = enterpriseInfoModel.Zpxq;
                Pxxq.InnerText = enterpriseInfoModel.Pxxq;
                Qtxqjjy.InnerText = enterpriseInfoModel.Qtxqjjy;


            }
        }
    }
}